package com.yfp.org.service.impl;

import cn.hutool.core.collection.CollUtil;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yfp.org.domain.TCounty;
import com.yfp.org.service.TCountyService;
import com.yfp.org.mapper.TCountyMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 * @description 针对表【t_county】的数据库操作Service实现
 * @createDate 2024-09-24 15:03:39
 */
@Service
public class TCountyServiceImpl extends ServiceImpl<TCountyMapper, TCounty> implements TCountyService {

    @Resource
    private TCountyMapper tCountyMapper;

    @Override
    public List<TCounty> listByIds(List<String> id) {
        if (CollUtil.isEmpty(id)) {
            return List.of();
        }
        return tCountyMapper.listByIds(id);
    }
}




